package com.iespring.service.app.order;

import com.iespring.bean.admin.order.pojo.OrderGoods;
import com.iespring.bean.app.order.bo.CommentBO;
import com.iespring.bean.app.order.bo.OrderSubmitBO;
import com.iespring.bean.app.order.vo.OrderForDetailVO;
import com.iespring.bean.app.order.vo.OrderSubmitVO;
import com.iespring.bean.common.BaseParam;
import com.iespring.bean.common.CommonData;
import org.springframework.stereotype.Service;

/**
 * @Author: 浩澄
 * @Date: 2022/12/31-16:15
 * @Mission: #
 */
public interface WxOrderService {
    CommonData list(BaseParam baseParam, Integer showType);

    OrderSubmitVO submit(OrderSubmitBO orderSubmitBO);

    OrderForDetailVO detail(Integer orderId);

    int orderChangeStatus(Integer orderId, int orderStatus);

    int orderChangeConfirmStatus(Integer orderId, int orderStatus);

    int orderRefund(Integer orderId, int orderStatus);

    int delete(Integer orderId);

    OrderGoods goods(Integer orderId, Integer goodsId);

    int comment(CommentBO commentBO);
}
